/*
* pps-cloud
*/
package com.pitop.payment.api;

import com.pitop.payment.entity.PaymentTerm;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 支付方式 api请求熔断器 熔断实现
 * @author berton
 */
@Component
public class PaymentTermFeignApiImpl implements PaymentTermFeignApi {
    /**
     * 查询PaymentTerm一个详情信息
     * @param id 
     * @param code 编码
     * @return BeanRet
     */
    @Override
    public  PaymentTerm load(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return new PaymentTerm();
    }


    /**
     * 根据条件id查询PaymentTerm一个详情信息
     *
     * @param id 
     * @return BeanRet
     */
    @Override
    public   PaymentTerm loadById(@RequestParam("id") java.lang.Long id){
        return new PaymentTerm();
    }

    /**
     * 根据条件code查询PaymentTerm一个详情信息
     *
     * @param code 编码
     * @return BeanRet
     */
    @Override
    public   PaymentTerm loadByCode(@RequestParam("code") java.lang.String code){
        return new PaymentTerm();
    }


    /**
     * 查询PaymentTerm信息集合
     *
     * @return 分页对象
     */
    @Override
    public    List<PaymentTerm> list(@RequestBody PaymentTerm paymentTerm,int curPage,int pageSize){
        return new ArrayList();
    }


    /**
     * 查询PaymentTerm信息集合
     *
     * @return 分页对象
     */
    @Override
    public   List<PaymentTerm> listByPk(java.lang.Long id,java.lang.String code,int curPage,int pageSize){
        return new ArrayList();
    }


    @Override
    public Integer count(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
         return 0;
    }

    @Override
    public Integer count(@RequestBody PaymentTerm paymentTerm) {
        return 0;
    }
    /**
     * 创建PaymentTerm
     *
     * @return BeanRet
     */
    @Override
    public   PaymentTerm build(@RequestBody PaymentTerm paymentTerm){
        return new PaymentTerm();
    }


    /**
     * 修改PaymentTerm
     *
     * @return BeanRet
     */
    @Override
    public   PaymentTerm modify(@RequestBody PaymentTerm paymentTerm){
        return new PaymentTerm();
    }

    /**
     * 删除PaymentTerm
     *
     * @return BeanRet
     */
    @Override
    public  void delete(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return;
    }
}
